import { createApp } from 'vue';
import TDesign from 'tdesign-mobile-vue';
import router from './router' // 导入路由配置
import App from './App.vue';
import 'tdesign-mobile-vue/es/style/index.css';

const app = createApp(App);
app.use(TDesign);
app.use(router) // 使用路由
// 补充挂载到 DOM 的代码
app.mount('#app');